package com.kgc.store.pojo;


import java.math.BigDecimal;
import java.util.Date;

public class KcStoreGood {

    private Integer sid;
    private Integer gid;
    private BigDecimal price;
    private Integer stock;
    private Date createDate;
    private String createUser;
    private Date updateDate;
    private String updateUser;
    private Integer batchId;
    private BigDecimal singleCost;
    private BigDecimal sumCost;


    public Integer getSid() {
        return sid;
    }

    public void setSid(Integer sid) {
        this.sid = sid;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getStock() {
        return stock;
    }

    public void setStock(Integer stock) {
        this.stock = stock;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getBatchId() {
        return batchId;
    }

    public void setBatchId(Integer batchId) {
        this.batchId = batchId;
    }

    public BigDecimal getSingleCost() {
        return singleCost;
    }

    public void setSingleCost(BigDecimal singleCost) {
        this.singleCost = singleCost;
    }

    public BigDecimal getSumCost() {
        return sumCost;
    }

    public void setSumCost(BigDecimal sumCost) {
        this.sumCost = sumCost;
    }

    @Override
    public String toString() {
        return "KcStoreGood{" +
                "sid=" + sid +
                ", gid=" + gid +
                ", price=" + price +
                ", stock=" + stock +
                ", createDate=" + createDate +
                ", createUser='" + createUser + '\'' +
                ", updateDate=" + updateDate +
                ", updateUser='" + updateUser + '\'' +
                ", batchId=" + batchId +
                ", singleCost=" + singleCost +
                ", sumCost=" + sumCost +
                '}';
    }
}
